package com.jf.cloud.user.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import java.util.Date;

/**
 * DTO
 *
 * @author zz
 * @date 2023-11-09 09:50:04
 */
public class UserTravelsDTO{
    private static final long serialVersionUID = 1L;

    @Schema(description = "")
    private Long id;

    @Schema(description = "用户ID")
    private Long userId;

    @Schema(description = "图片路径")
    private String imgUrl;

    @Schema(description = "标题")
    private String title;

    @Schema(description = "描述")
    private String content;

    @Schema(description = "是否允许评论")
    private Integer isComment;

    @Schema(description = "状态")
    private Integer status;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getIsComment() {
        return isComment;
    }

    public void setIsComment(Integer isComment) {
        this.isComment = isComment;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "UserTravelsDTO{" +
                "id=" + id +
                ",userId=" + userId +
                ",imgUrl=" + imgUrl +
                ",title=" + title +
                ",content=" + content +
                ",isComment=" + isComment +
                ",status=" + status +
                '}';
    }
}
